package com.dayuanit.uers;
import  com.dayuanit.traffic.Vehicle;
import com.dayuanit.comb.School;

public class Persion{
	private String name;
	private int age;
	private String adds;
	private String sex;
	
	public Persion(){

	}
	

	public void setName(String name){
		this.name=name;
	}
	public String getName(){
		return name;
	}
	public void setAge(int age){
		this.age=age;
	}
	public int getAge(){
		return age;
	}
	public void setAdds(String adds){
		this.adds=adds;
	}
	public String getAdds(){
		return adds;
	}
	public void setSex(String sex){
		this.sex=sex;
	}
	public String getSex(){
		return sex;
	}
	public void goToSchool(Vehicle vehicle   ){
                 vehicle.move2(this.name);
                
	}
	
}